//
//  TTCache.m
//  Tint
//
//  Created by Kevin Wu on 2/23/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import "TTCache.h"



@implementation TTCache


#pragma mark - Accessors

@synthesize cacheType = _cacheType;
@synthesize defaultTimeoutInterval = _defaultTimeoutInterval;



#pragma mark - Memory

- (id)initWithType:(NSString *)type {
    self = [super init];
    if (self) {
        TTCopy(type, _cacheType);
        _defaultTimeoutInterval = TTTimeIntervalWeek();
    }
    return self;
}

- (void)dealloc {
    TTRelease(_cacheType);
    _defaultTimeoutInterval = 0.0;
    [super dealloc];
}



#pragma mark - Public

+ (id)sharedObject {
    return nil;
}

+ (id)cacheByType:(NSString *)type {
    return nil;
}


- (void)clearCache {
}

- (void)cleanUp {
}

- (void)removeCacheForKey:(NSString *)key {
}

- (BOOL)hasCacheForKey:(NSString *)key {
    return NO;
}

- (NSArray *)cacheKeys {
    return nil;
}

- (NSUInteger)count {
    return 0;
}

@end
